Optimal. Leaf size=63 \[ \frac {2 b \sin (c+d x)}{d \sqrt {b \cos (c+d x)}}-\frac {2 E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \cos (c+d x)}}{d \sqrt {\cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {16, 2636, 2640, 2639} \[ \frac {2 b \sin (c+d x)}{d \sqrt {b \cos (c+d x)}}-\frac {2 E\left (\left .\frac {1}{2} (c+d x)\right |2\right ) \sqrt {b \cos (c+d x)}}{d \sqrt {\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2636
Rule 2639
Rule 2640
Rubi steps
\begin {align*} \int \sqrt {b \cos (c+d x)} \sec ^2(c+d x) \, dx &=b^2 \int \frac {1}{(b \cos (c+d x))^{3/2}} \, dx\\ &=\frac {2 b \sin (c+d x)}{d \sqrt {b \cos (c+d x)}}-\int \sqrt {b \cos (c+d x)} \, dx\\ &=\frac {2 b \sin (c+d x)}{d \sqrt {b \cos (c+d x)}}-\frac {\sqrt {b \cos (c+d x)} \int \sqrt {\cos (c+d x)} \, dx}{\sqrt {\cos (c+d x)}}\\ &=-\frac {2 \sqrt {b \cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )}{d \sqrt {\cos (c+d x)}}+\frac {2 b \sin (c+d x)}{d \sqrt {b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 48, normalized size = 0.76 \[ \frac {2 b \left (\sin (c+d x)-\sqrt {\cos (c+d x)} E\left (\left .\frac {1}{2} (c+d x)\right |2\right )\right )}{d \sqrt {b \cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.49, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\sqrt {b \cos \left (d x + c\right )} \sec \left (d x + c\right )^{2}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \cos \left (d x + c\right )} \sec \left (d x + c\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.14, size = 166, normalized size = 2.63 \[ -\frac {2 b \sqrt {-2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b +\left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) b}\, \left (\sqrt {\frac {1}{2}-\frac {\cos \left (d x +c \right )}{2}}\, \sqrt {2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1}\, \EllipticE \left (\cos \left (\frac {d x}{2}+\frac {c}{2}\right ), \sqrt {2}\right )-2 \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right ) \cos \left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{\sqrt {-b \left (2 \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-\left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )\right )}\, \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {b \left (2 \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )-1\right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \cos \left (d x + c\right )} \sec \left (d x + c\right )^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {\sqrt {b\,\cos \left (c+d\,x\right )}}{{\cos \left (c+d\,x\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {b \cos {\left (c + d x \right )}} \sec ^{2}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________